package cn.buk.api.ctrip.dto.hotel;

import javax.xml.bind.annotation.*;

/**
 * Created by william on 2015-1-22.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(namespace = "http://www.opentravel.org/OTA/2003/05")
public class RoomGuestCount {

    @XmlAttribute(name="IsPerRoom")
    private boolean isPerRoom;

    @XmlElement(name="GuestCount")
    private GuestCount guestCount = new GuestCount();

    public boolean isPerRoom() {
        return isPerRoom;
    }

    public void setPerRoom(boolean isPerRoom) {
        this.isPerRoom = isPerRoom;
    }

    public GuestCount getGuestCount() {
        return guestCount;
    }

    public void setGuestCount(GuestCount guestCount) {
        this.guestCount = guestCount;
    }
}
